<?php
include('../Class/Privilegis.class.php');
if(isset($_POST['nom_privi'])){
		$privi=new Privilegis();
		$privi->crearPrivilegi($_POST['nom_privi']);
}
?>
<html>
<head>
</head>
<body>
	<Form name="Form_Crea_privi" method="post" action="./CrearPrivilegi.php">
	<Strong>Nom Privi</Strong><br>
	<input type="text" name="nom_privi" maxlength="30"> 
	<?

	//presentarPrivisOption($resultat);
	?>
	<input type="submit" name="boton" value="enviar">
	</Form>
</body>
</html>
